SERVER_ROOT = File.expand_path(File.dirname(__FILE__)) + "/server"

module Installr
  module Server
    autoload :Runner,          "#{SERVER_ROOT}/runner"

    module Command
      autoload :Base,          "#{SERVER_ROOT}/commands/base"
      autoload :App,           "#{SERVER_ROOT}/commands/app"
      autoload :System,        "#{SERVER_ROOT}/commands/system"
      autoload :Self,          "#{SERVER_ROOT}/commands/self"
    end
  end
end

require "#{SERVER_ROOT}/version"
